/////////////////////////////////////////////////////////////////////////
//
// Amuse Engine - graphics
// Copyright (c) 2014.  All Rights Reserved
//
// File:		AERenderContext.inl
// Author:		Gianluca Belardelli
// Date:		12/12/2014
//
/////////////////////////////////////////////////////////////////////////
#ifndef _AERENDERCONTEXT_INL_
#define _AERENDERCONTEXT_INL_

AE_FORCEINLINE AEINT32 AERenderContext::GetRenderFlags( void ) const
{
	return m_nRenderFlags;
}

AE_FORCEINLINE AEFLOAT32 AERenderContext::GetPriority( void ) const
{
	return m_fPriority;
}

AE_FORCEINLINE void AERenderContext::SetProjectionType( AEProjectionType eType )
{
	m_spViewProps->SetProjectionType( eType );
	m_spViewProps->GetProjectionType();
}

AE_FORCEINLINE AEProjectionType AERenderContext::GetProjectionType( void )
{
	return m_spViewProps->GetProjectionType();
}

AE_FORCEINLINE void AERenderContext::GetOrthographicSize( AEFLOAT32 &fWidth, AEFLOAT32 &fHeight )
{
	fWidth = m_spViewProps.operator->()->GetOrthographicWidth();
	fHeight = m_spViewProps.operator->()->GetOrthographicHeight();
}

#endif // _AERENDERCONTEXT_INL_
